/* =====================================================
   IL GUSTO DEL VILLAGGIO — Style Moderno
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --bg:          #0a0705;
  --surface:     #12100d;
  --surface2:    #1c1814;
  --surface3:    #252018;
  --gold:        #d4a84b;
  --gold-light:  #f0c96d;
  --gold-dim:    rgba(212,168,75,.15);
  --red:         #c0392b;
  --red-bright:  #e74c3c;
  --cream:       #f5e6cc;
  --cream-dim:   #c9a97a;
  --text-dim:    #8a7a65;
  --white:       #ffffff;
  --border:      rgba(212,168,75,.18);
  --border-dim:  rgba(212,168,75,.08);
  --glass:       rgba(10,7,5,.80);
  --radius:      16px;
  --radius-sm:   10px;
  --transition:  .25s ease;
  --max-w:       1170px;
}

/* ── RESET ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{
  background-color:var(--bg);
  background-image:url('../image/sfondo_legno3.png');
  background-repeat:repeat;
  color:var(--cream);
  font-family:'Outfit',Helvetica,sans-serif;
  font-weight:400;
  line-height:1.6;
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{text-decoration:none;color:inherit}
ul{list-style:none}
table{border-collapse:collapse}

/* ── GRAIN OVERLAY ── */
body::before{
  content:'';position:fixed;inset:0;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events:none;z-index:9999;opacity:.4;
}

/* ── NAVBAR ── */
.navbar{
  position:fixed;top:0;left:0;right:0;z-index:1000;
  height:72px;padding:0 40px;
  display:flex;align-items:center;justify-content:space-between;
  background:linear-gradient(180deg,rgba(10,7,5,.98) 0%,rgba(10,7,5,.85) 100%);
  backdrop-filter:blur(24px);
  border-bottom:1px solid var(--border);
  transition:height var(--transition), box-shadow var(--transition);
}
.navbar.scrolled{
  height:60px;
  box-shadow:0 4px 40px rgba(0,0,0,.65);
  background:rgba(10,7,5,.97);
}
.nav-brand{
  font-family:'Playfair Display',serif;
  font-size:1.1rem;font-weight:700;
  color:var(--gold);letter-spacing:2px;text-transform:uppercase;
  white-space:nowrap;flex-shrink:0;
}
.nav-brand span{
  display:block;color:var(--cream-dim);
  font-weight:400;font-style:italic;font-size:.75rem;letter-spacing:1px;
}
.nav-links{
  display:flex;align-items:center;gap:4px;flex-wrap:wrap;
  justify-content:flex-end;
}
.nav-links a{
  color:var(--cream-dim);font-size:.72rem;font-weight:500;
  letter-spacing:1.5px;text-transform:uppercase;
  padding:8px 14px;border-radius:50px;
  transition:all var(--transition);
}
.nav-links a:hover,.nav-links a.active{
  color:var(--gold);/*background:var(--gold-dim);*/
}
/* CTA "ORDINA ADESSO" */
.nav-cta{
  display:inline-flex!important;align-items:center;gap:8px;
  background:linear-gradient(135deg,var(--red) 0%,#8b1a1a 100%)!important;
  color:var(--white)!important;
  font-weight:700!important;letter-spacing:1px!important;
  padding:10px 22px!important;border-radius:50px!important;
  border:1px solid rgba(255,255,255,.1);
  box-shadow:0 4px 20px rgba(192,57,43,.4);
  animation:glowCTA 3s ease infinite;
}
.nav-cta:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 32px rgba(192,57,43,.6)!important;
  background:linear-gradient(135deg,var(--red-bright) 0%,var(--red) 100%)!important;
}
@keyframes glowCTA{
  0%,100%{box-shadow:0 4px 20px rgba(192,57,43,.4);}
  50%{box-shadow:0 4px 30px rgba(192,57,43,.7);}
}
/* Hamburger */
.nav-toggle{
  display:none;font-size:26px;color:var(--gold);
  cursor:pointer;padding:8px;
  background:none;border:none;
}

/* ── PAGE HEADER (inner pages) ── */
.page-header{
  padding-top:72px;
  background:linear-gradient(180deg,rgba(240 234 229) 0%,rgba(20,14,8,.95) 100%);
  text-align:center;
  padding-bottom:0;
}
.logo-wrap{padding:20px 16px 8px;}
.logo-wrap img{
  display:inline-block;width:min(55%,380px);height:auto;
}
.page-tagline{
  display:flex;align-items:center;justify-content:center;
  gap:16px;padding:4px 20px 0;
  min-height:52px;overflow:hidden;
}
.page-tagline h6{
  font-family:'Playfair Display',serif;
  font-size:clamp(24px,4vw,46px);font-weight:900;font-style:italic;
  color:var(--gold);letter-spacing:3px;text-transform:uppercase;
  text-shadow:-2px 2px 8px rgba(0,0,0,.4);
}
.page-tagline h6 span{
  display:inline-block;
  animation:letterIn .7s ease both;
}
@keyframes letterIn{
  from{opacity:0;transform:rotateY(90deg) scale(.8);filter:blur(6px);}
  to{opacity:1;transform:rotateY(0) scale(1);filter:blur(0);}
}
/* Stagger delays */
.page-tagline h6 span:nth-child(1){animation-delay:.00s}
.page-tagline h6 span:nth-child(2){animation-delay:.04s}
.page-tagline h6 span:nth-child(3){animation-delay:.08s}
.page-tagline h6 span:nth-child(4){animation-delay:.12s}
.page-tagline h6 span:nth-child(5){animation-delay:.16s}
.page-tagline h6 span:nth-child(6){animation-delay:.20s}
.page-tagline h6 span:nth-child(7){animation-delay:.24s}
.page-tagline h6 span:nth-child(8){animation-delay:.28s}
.page-tagline h6 span:nth-child(9){animation-delay:.32s}
.page-tagline h6 span:nth-child(10){animation-delay:.36s}
.page-tagline h6 span:nth-child(11){animation-delay:.40s}
.page-tagline h6 span:nth-child(12){animation-delay:.44s}
.page-tagline h6 span:nth-child(13){animation-delay:.48s}
.page-tagline h6 span:nth-child(14){animation-delay:.52s}
.page-tagline h6 span:nth-child(15){animation-delay:.56s}
.page-tagline h6 span:nth-child(16){animation-delay:.60s}
.page-tagline h6 span:nth-child(17){animation-delay:.64s}
.page-tagline h6 span:nth-child(18){animation-delay:.68s}

/* ── HERO SLIDESHOW (index only) ── */
.hero{
  position:relative;height:100vh;min-height:600px;
  overflow:hidden;display:flex;align-items:center;justify-content:center;
}
.hero-slides{position:absolute;inset:0;}
.slide{position:absolute;inset:0;opacity:0;animation:slideAnim 18s infinite;}
.slide:nth-child(1){animation-delay:0s;}
.slide:nth-child(2){animation-delay:6s;}
.slide:nth-child(3){animation-delay:12s;}
.slide img{
  width:100%;height:100%;object-fit:cover;
  animation:zoomImg 18s infinite;
  filter:brightness(.45) saturate(1.15);
}
.slide:nth-child(1) img{animation-delay:0s;}
.slide:nth-child(2) img{animation-delay:6s;}
.slide:nth-child(3) img{animation-delay:12s;}
@keyframes slideAnim{0%{opacity:0}4%{opacity:1}33%{opacity:1}37%{opacity:0}100%{opacity:0}}
@keyframes zoomImg{0%{transform:scale(1)}100%{transform:scale(1.1)}}
.hero-overlay{
  position:absolute;inset:0;
  background:linear-gradient(to bottom,
    rgba(10,7,5,.25) 0%,rgba(10,7,5,.1) 35%,
    rgba(10,7,5,.65) 75%,rgba(10,7,5,1) 100%);
}
.hero-content{
  position:relative;z-index:2;text-align:center;padding:0 24px;
  animation:heroIn 1s ease both;animation-delay:.4s;
}
@keyframes heroIn{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:translateY(0)}}
.hero-eyebrow{
  font-size:.65rem;letter-spacing:6px;text-transform:uppercase;
  color:var(--gold);margin-bottom:20px;
  display:flex;align-items:center;justify-content:center;gap:14px;
}
.hero-eyebrow::before,.hero-eyebrow::after{
  content:'';width:50px;height:1px;
  background:linear-gradient(90deg,transparent,var(--gold));
}
.hero-eyebrow::after{background:linear-gradient(90deg,var(--gold),transparent);}
.hero-title{
  font-family:'Playfair Display',serif;
  font-size:clamp(52px,9vw,110px);
  font-weight:900;line-height:.9;
  color:var(--white);
  text-shadow:0 4px 40px rgba(0,0,0,.5);
  margin-bottom:10px;
}
.hero-title .gold{color:var(--gold);font-style:italic;}
.hero-subtitle{
  font-family:'Playfair Display',serif;
  font-size:clamp(16px,2.5vw,26px);font-style:italic;
  color:var(--cream-dim);letter-spacing:3px;margin-bottom:40px;
}
.hero-btns{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;}
.btn-primary{
  display:inline-flex;align-items:center;gap:10px;
  background:linear-gradient(135deg,var(--red),#8b1a1a);
  color:var(--white);font-size:.88rem;font-weight:700;
  letter-spacing:2px;text-transform:uppercase;
  padding:16px 36px;border-radius:50px;
  box-shadow:0 8px 32px rgba(192,57,43,.45);
  transition:all .3s;border:none;cursor:pointer;
}
.btn-primary:hover{transform:translateY(-3px);box-shadow:0 14px 40px rgba(192,57,43,.6);}
.btn-ghost{background: #aa2c1f;
  display:inline-flex;align-items:center;gap:10px;
  color:var(--cream);
  font-size:.88rem;font-weight:500;letter-spacing:2px;text-transform:uppercase;
  padding:15px 36px;border-radius:50px;
  border:1px solid rgba(245,230,204,.28);
  transition:all .3s;cursor:pointer;
}
.btn-ghost:hover{background: #aa2c1f;border-color:rgba(245,230,204,.55);transform:translateY(-2px);}
.hero-scroll{
  position:absolute;bottom:28px;left:50%;transform:translateX(-50%);
  z-index:2;display:flex;flex-direction:column;align-items:center;gap:6px;
  color:var(--text-dim);font-size:.6rem;letter-spacing:3px;text-transform:uppercase;
  animation:bobScroll 2s ease infinite;
}
@keyframes bobScroll{0%,100%{transform:translateX(-50%) translateY(0)}50%{transform:translateX(-50%) translateY(8px)}}
.hero-scroll svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.5;}

/* ── MAIN CONTENT AREA ── */
.main-wrap{
  width:100%;max-width:var(--max-w);
  margin:0 auto;
  padding:32px 24px 60px;
}
.main-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:32px;
  align-items:start;
}
.main-grid.single{grid-template-columns:1fr;}
.main-grid.sidebar-right{grid-template-columns:3fr 2fr;}
.main-grid.sidebar-left{grid-template-columns:2fr 3fr;}

/* ── SECTION TITLES ── */
.section-head{margin-bottom:24px;background: #4e4843;border-radius: 16px;}
.section-tag{margin-left: 30px;
  font-size:.65rem;letter-spacing:5px;text-transform:uppercase;
  color:var(--gold);margin-bottom:10px;
  display:flex;align-items:center;gap:10px;
}
.section-tag::after{content:'';width:32px;height:1px;background:var(--gold);opacity:.5;}
.section-title{
  font-family:'Playfair Display',serif;
  font-size:clamp(26px,4vw,44px);font-weight:900;
  color:var(--white);line-height:1.1;
}
.section-title em{color:var(--gold);font-style:italic;}

/* ── PIZZA ITEMS ── */
.pizza-item{
  display:flex;align-items:flex-start;justify-content:space-between;
  gap:12px;padding:12px 14px;
  border-radius:var(--radius-sm);
  border-left:2px solid transparent;
  transition:all var(--transition);
  position:relative;
}
.pizza-item:hover{
  background:var(--border-dim);
  border-left-color:var(--gold);
  transform:translateX(4px);
}
.pizza-info{flex:1;min-width:0;}
.pizza-name{
  font-family:'Playfair Display',serif;
  font-size:.95rem;font-weight:700;font-style:italic;
  color:var(--cream);margin-bottom:3px;
  text-transform:capitalize;
}
.pizza-ingr{
  font-size:.75rem;color:var(--text-dim);
  line-height:1.4;text-transform:lowercase;
  font-style:italic;
}
.pizza-price{
  display:inline-flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,var(--red),#8b1a1a);
  color:var(--white);font-size:.72rem;font-weight:700;
  font-style:italic;padding:4px 12px 5px;
  border-radius:30px;white-space:nowrap;
  min-width:62px;text-align:center;flex-shrink:0;
  box-shadow:0 2px 8px rgba(192,57,43,.3);
}
.pizza-divider{
  height:1px;background:var(--border-dim);margin:2px 0;
}

/* ── CARDS ── */
.card{
  background:#4e4843;border:1px solid var(--border);letter-spacing: 1px;
  border-radius:var(--radius);padding:28px;
  position:relative;overflow:hidden;
  transition:all .35s;
}
.card::before{
  content:'';position:absolute;inset:0;
  background:linear-gradient(135deg,rgba(212,168,75,.05) 0%,transparent 55%);
  opacity:0;transition:opacity .35s;
}
.card:hover{transform:translateY(-3px);border-color:rgba(212,168,75,.32);}
.card:hover::before{opacity:1;}
.card-icon{
  width:46px;height:46px;border-radius:12px;
  background:var(--gold-dim);border:1px solid rgba(212,168,75,.22);
  display:flex;align-items:center;justify-content:center;
  font-size:20px;margin-bottom:18px;
}
.card-title{
  font-family:'Playfair Display',serif;
  font-size:1.15rem;font-weight:700;color:var(--cream);
  margin-bottom:10px;
}
.card-text{color:var(--cream-dim);font-size:.88rem;line-height:1.7;}

/* ── ORARI TABLE ── */
.orari-table{width:100%;border-collapse:separate;border-spacing:0 5px;margin-top:8px;}
.orari-table td:first-child{
  font-weight:600;color:var(--cream);padding:9px 14px;
  background:rgba(212,168,75,.07);border-radius:8px 0 0 8px;
  border-left:2px solid var(--gold);min-width:110px;font-size:.88rem;
}
.orari-table td{
  padding:9px 14px;background:rgba(255,255,255,.02);
  color:var(--cream-dim);font-size:.83rem;
}
.orari-table td:last-child{border-radius:0 8px 8px 0;text-align:right;}
.orari-table tr:hover td{background:rgba(212,168,75,.05);}
.closed-text{color:#e74c3c!important;font-style:italic;}

/* ── INFO PAGE ── */
.info-article{background: #4e4843;letter-spacing: 1px;
  display:flex;gap:20px;padding:24px;
  border:1px solid var(--border);
  border-radius:var(--radius);margin-bottom:20px;
  transition:all var(--transition);
}
.info-article:hover{border-color:rgba(212,168,75,.3);transform:translateY(-2px);}
.info-article img{
  width:100px;height:100px;object-fit:cover;
  border-radius:var(--radius-sm);flex-shrink:0;
  border:1px solid var(--border);
}
.info-article-body h3{
  font-family:'Playfair Display',serif;
  font-size:1.1rem;font-weight:700;color:var(--cream);
  margin-bottom:8px;
}
.info-article-body p{
  color:#d4a84b;font-size:.85rem;line-height:1.7;
}
.drink-item{background: #4e4843;    border-left: 4px solid #d4a84b;
  display:flex;align-items:center;justify-content:space-between;
  padding:10px 14px;border-radius:var(--radius-sm);
  
  transition:all var(--transition);margin-bottom:6px;
}
.drink-item:hover{background:#4e4843;border-left-color:var(--gold);}
.drink-name{color:var(--cream);font-size:.88rem;font-weight:500;}
.drink-price{
  background:linear-gradient(135deg,var(--red),#8b1a1a);
  color:var(--white);font-size:.72rem;font-weight:700;
  padding:3px 12px 4px;border-radius:30px;
}

/* ── AGGIUNTE / SPECIAL SECTIONS ── */
.aggiunta-item{
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;padding:10px 14px;border-radius:var(--radius-sm);
  border-left:2px solid rgba(212,168,75,.3);
  background:rgba(212,168,75,.03);margin-bottom:6px;
  transition:all var(--transition);
}
.aggiunta-item:hover{background:rgba(212,168,75,.08);border-left-color:var(--gold);}
.aggiunta-label{color:var(--cream-dim);font-size:.85rem;font-weight:500;font-style:italic;}

/* ── FORMAT/FAMILY/METRO CARDS ── */
.format-card{
  background:var(--surface2);border:1px solid var(--border);
  border-radius:var(--radius);padding:24px 28px;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  margin-bottom:14px;transition:all .3s;
}
.format-card:hover{border-color:rgba(212,168,75,.35);transform:translateX(4px);}
.format-name{
  font-family:'Playfair Display',serif;
  font-size:1.1rem;font-weight:700;color:var(--cream);
  margin-bottom:4px;
}
.format-desc{color:var(--text-dim);font-size:.82rem;line-height:1.5;}
.format-price{
  display:inline-block;
  background:linear-gradient(135deg,var(--red),#8b1a1a);
  color:var(--white);font-size:.95rem;font-weight:700;
  padding:8px 20px;border-radius:50px;
  white-space:nowrap;flex-shrink:0;
  box-shadow:0 4px 16px rgba(192,57,43,.35);
}
.format-img{
  max-width:100%;height:auto;border-radius:var(--radius);
  box-shadow:0 8px 32px rgba(0,0,0,.4);
  border:1px solid var(--border);
}

/* ── SOCIAL LINKS ── */
.social-pill{
  display:inline-flex;align-items:center;gap:9px;
  padding:10px 18px;border-radius:50px;
  font-size:.78rem;font-weight:600;letter-spacing:.5px;
  transition:all .3s;border:1px solid;
}
.social-fb{background:rgba(24,119,242,.1);border-color:rgba(24,119,242,.28);color:#6ea8fe;}
.social-fb:hover{background:rgba(24,119,242,.22);transform:translateY(-2px);}
.social-maps{background:rgba(52,168,83,.1);border-color:rgba(52,168,83,.28);color:#81c784;}
.social-maps:hover{background:rgba(52,168,83,.22);transform:translateY(-2px);}
.social-justeat{background:rgba(255,102,0,.1);border-color:rgba(255,102,0,.28);color:#ff8c42;}
.social-justeat:hover{background:rgba(255,102,0,.25);transform:translateY(-2px);}
.social-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px;}

/* ── TEL LINK ── */
.tel-link{
  font-family:'Playfair Display',serif;
  font-size:clamp(1.4rem,3vw,2rem);
  font-weight:700;color:var(--white);letter-spacing:1px;
  display:inline-block;transition:color var(--transition);
}
.tel-link:hover{color:var(--gold);}

/* ── DIVIDER ── */
.ornament{
  display:flex;align-items:center;gap:20px;
  padding:20px 0;color:var(--text-dim);font-size:.65rem;letter-spacing:4px;text-transform:uppercase;
}
.ornament::before,.ornament::after{
  content:'';flex:1;height:1px;
  background:linear-gradient(90deg,transparent,var(--border),transparent);
}

/* ── SLIDESHOW (index) ── */
/* già definito sopra nel .hero */

/* ── FOOTER ── */
footer{
  background:var(--surface);border-top:1px solid var(--border);
  padding:36px 40px;margin-top:0;
}
.footer-inner{
  max-width:var(--max-w);margin:0 auto;
  display:flex;align-items:flex-start;justify-content:space-between;
  flex-wrap:wrap;gap:24px;
}
.footer-brand{
  font-family:'Playfair Display',serif;
  font-size:1rem;font-weight:700;color:var(--gold);
  letter-spacing:2px;text-transform:uppercase;
}
.footer-brand span{
  display:block;color:var(--cream-dim);
  font-weight:300;font-style:italic;font-size:.78rem;letter-spacing:1px;margin-top:2px;
}
.footer-nav{display:flex;flex-wrap:wrap;gap:4px 18px;}
.footer-nav a{
  color:var(--text-dim);font-size:.72rem;
  letter-spacing:1px;text-transform:uppercase;
  transition:color var(--transition);
}
.footer-nav a:hover{color:var(--gold);}
.footer-copy{
  width:100%;text-align:center;
  color:var(--text-dim);font-size:.7rem;
  padding-top:20px;margin-top:4px;
  border-top:1px solid var(--border);
}

/* ── CHATBOT ── */
.chat-fab{
  position:fixed;bottom:28px;right:28px;z-index:2000;
  display:flex;flex-direction:column;align-items:flex-end;gap:12px;
}
.chat-bubble-hint{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--surface2);border:1px solid var(--border);
  border-radius:18px 18px 4px 18px;
  padding:9px 16px;font-size:.75rem;color:var(--cream-dim);
  box-shadow:0 8px 32px rgba(0,0,0,.5);
  animation:popIn .4s ease both;animation-delay:1.2s;opacity:0;
  white-space:nowrap;
}
@keyframes popIn{from{opacity:0;transform:scale(.8) translateY(10px)}to{opacity:1;transform:scale(1) translateY(0)}}
.chat-trigger{
  width:62px;height:62px;border-radius:50%;
  background:linear-gradient(135deg,var(--red),#8b1a1a);
  border:2px solid rgba(212,168,75,.22);
  display:flex;align-items:center;justify-content:center;
  font-size:26px;cursor:pointer;
  box-shadow:0 8px 28px rgba(192,57,43,.5);
  transition:all .3s;position:relative;
}
.chat-trigger::after{
  content:'';position:absolute;inset:-5px;border-radius:50%;
  border:2px solid rgba(192,57,43,.3);
  animation:ripple 2.5s ease infinite;
}
@keyframes ripple{0%{transform:scale(1);opacity:.8}100%{transform:scale(1.45);opacity:0}}
.chat-trigger:hover{transform:scale(1.08);box-shadow:0 12px 36px rgba(192,57,43,.65);}
.chat-window{
  position:fixed;bottom:108px;right:28px;
  width:min(390px,calc(100vw - 36px));
  height:560px;
  background:var(--surface);border:1px solid var(--border);
  border-radius:22px;display:none;flex-direction:column;
  overflow:hidden;box-shadow:0 24px 80px rgba(0,0,0,.7);
  z-index:1999;
}
.chat-window.open{display:flex;animation:slideUp .3s ease both;}
@keyframes slideUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
.chat-head{
  padding:18px 22px;
  background:linear-gradient(135deg,#1a1410,#251e16);
  border-bottom:1px solid var(--border);
  display:flex;align-items:center;gap:12px;
}
.chat-avatar{
  width:42px;height:42px;border-radius:50%;
  background:linear-gradient(135deg,var(--red),#8b1a1a);
  display:flex;align-items:center;justify-content:center;
  font-size:20px;flex-shrink:0;border:1.5px solid rgba(212,168,75,.2);
}
.chat-head-info h3{
  font-family:'Playfair Display',serif;
  font-size:.95rem;color:var(--white);font-weight:700;
}
.chat-head-info p{font-size:.68rem;color:var(--gold);margin-top:1px;}
.online{
  display:inline-block;width:7px;height:7px;
  border-radius:50%;background:#2ecc71;
  box-shadow:0 0 0 2px rgba(46,204,113,.2);
  animation:blink 2s ease infinite;margin-right:4px;
}
@keyframes blink{0%,100%{opacity:1}50%{opacity:.3}}
.chat-close{
  margin-left:auto;width:30px;height:30px;
  background:rgba(255,255,255,.06);border:none;border-radius:50%;
  color:var(--text-dim);cursor:pointer;font-size:14px;
  display:flex;align-items:center;justify-content:center;
  transition:all .2s;
}
.chat-close:hover{background:rgba(255,255,255,.12);color:var(--white);}
.chat-msgs{
  flex:1;overflow-y:auto;padding:18px;
  display:flex;flex-direction:column;gap:14px;
  scroll-behavior:smooth;
}
.chat-msgs::-webkit-scrollbar{width:3px;}
.chat-msgs::-webkit-scrollbar-thumb{background:var(--border);border-radius:4px;}
.msg{display:flex;gap:8px;max-width:90%;}
.msg.user{align-self:flex-end;flex-direction:row-reverse;}
.msg-bub{
  padding:11px 15px;border-radius:16px;
  font-size:.84rem;line-height:1.55;
}
.msg.bot .msg-bub{
  background:var(--surface2);border:1px solid var(--border);
  color:var(--cream);border-radius:4px 16px 16px 16px;
}
.msg.user .msg-bub{
  background:linear-gradient(135deg,var(--red),#8b1a1a);
  color:var(--white);border-radius:16px 4px 16px 16px;
}
.msg-av{
  width:30px;height:30px;border-radius:50%;
  background:linear-gradient(135deg,var(--red),#8b1a1a);
  display:flex;align-items:center;justify-content:center;
  font-size:14px;flex-shrink:0;align-self:flex-end;
  border:1px solid rgba(212,168,75,.12);
}
.msg.user .msg-av{background:rgba(212,168,75,.12);}
.typing{display:flex;gap:5px;padding:12px 16px;}
.typing span{
  width:6px;height:6px;border-radius:50%;background:var(--text-dim);
  animation:typeDot 1.2s ease infinite;
}
.typing span:nth-child(2){animation-delay:.2s;}
.typing span:nth-child(3){animation-delay:.4s;}
@keyframes typeDot{0%,60%,100%{transform:translateY(0)}30%{transform:translateY(-7px)}}
.quick-btns{
  padding:8px 14px 0;display:flex;gap:6px;flex-wrap:wrap;
}
.q-btn{
  padding:6px 12px;border-radius:50px;
  background:rgba(212,168,75,.07);border:1px solid rgba(212,168,75,.18);
  color:var(--cream-dim);font-size:.72rem;cursor:pointer;
  transition:all .2s;font-family:'Outfit',sans-serif;
}
.q-btn:hover{background:rgba(212,168,75,.16);color:var(--gold);}
.chat-input-row{
  padding:14px;border-top:1px solid var(--border);
  display:flex;gap:9px;align-items:flex-end;
}
.chat-input{
  flex:1;background:var(--surface2);border:1px solid var(--border);
  border-radius:12px;padding:10px 14px;
  color:var(--cream);font-size:.84rem;font-family:'Outfit',sans-serif;
  resize:none;outline:none;max-height:90px;line-height:1.4;
  transition:border-color .25s;
}
.chat-input::placeholder{color:var(--text-dim);}
.chat-input:focus{border-color:rgba(212,168,75,.38);}
.chat-send{
  width:42px;height:42px;border-radius:10px;
  background:linear-gradient(135deg,var(--red),#8b1a1a);
  border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;
  transition:all .25s;flex-shrink:0;
}
.chat-send:hover{transform:scale(1.08);}
.chat-send svg{width:17px;height:17px;fill:white;}

/* ── RESPONSIVE ── */
@media(max-width:960px){
  .main-grid{grid-template-columns:1fr;}
  .main-grid.sidebar-right,.main-grid.sidebar-left{grid-template-columns:1fr;}
  .navbar{padding:0 20px;}
}
@media(max-width:768px){
  .nav-links{display:none;}
  .nav-links.open{
    display:flex;flex-direction:column;align-items:stretch;gap:4px;
    position:absolute;top:100%;left:0;right:0;
    background:rgba(10,7,5,.97);padding:16px;
    border-bottom:1px solid var(--border);
    backdrop-filter:blur(24px);
  }
  .nav-links.open a{padding:12px 16px;border-radius:var(--radius-sm);}
  .nav-toggle{display:block;}
  .main-wrap{padding:20px 16px 48px;}
  footer{padding:28px 20px;}
  .chat-window{bottom:96px;right:16px;}
  .chat-fab{right:16px;bottom:20px;}
  .hero-title{font-size:clamp(36px,11vw,60px);}
}
@media(max-width:480px){
  .format-card{flex-direction:column;align-items:flex-start;}
  .info-article{flex-direction:column;}
  .info-article img{width:100%;height:auto;}
}
